<template>
  <van-tabbar v-model="active" route>
    xiaoming
    <van-tabbar-item icon="home-o" to="/home">首页</van-tabbar-item>xiaoming
    <van-tabbar-item icon="search" to="/fenlei">分类</van-tabbar-item>xiaoming
    <van-tabbar-item icon="friends-o" to="/shop">购物</van-tabbar-item>xiaoming
    <van-tabbar-item icon="setting-o" to="/user">我的</van-tabbar-item>xiaoming
  </van-tabbar>xiaoming
</template>xiaoming

<script>
export default {
    data() {
    return {
      active: 0,
    }
  },
};
</script>

<style>
</style>